package com.zp.base.entity.labMaintenance;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import com.zp.common.core.entity.TreeEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;


/**
 * 检验项目类型lab_type对象 lab_type
 *
 * @author zhang peng
 * @ date 2023-05-29
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("lab_type")
public class LabType extends TreeEntity<LabType> {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @TableId(value = "lab_type_id")
    private String labTypeId;

    /**
     * 类型名称
     */
    private String name;

    /**
     * 机构ID
     */
    private String orgId;

    /**
     * 级别
     */
    private int level;

    /**
     * 排序
     */
    private Integer sort;

    /**
     * 执行科室
     */
    private String performedBy;

    /**
     * 所有父级编号
     */
    private String parentIds;

    /**
     * 标志
     */
    @TableLogic
    private String delFlag;

    public void initEntity () {
        this.delFlag = "0";
    }

    /**
     * 备注信息
     */
    private String remarks;



}
